package com.lizx.staff.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lizx.staff.mapper.ProjectMapper;
import com.lizx.pojo.TbProject;
import com.lizx.staff.service.ProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper,TbProject> implements ProjectService {

    @Resource
    ProjectMapper projectMapper;

    @Override
    public List<TbProject> list() {
        return projectMapper.list();
    }
}
